package com.example.Hongbao;

import android.app.Application;

/**
 * Created by Fcy on 2015/11/27.
 */
public class MyApplication extends Application
{
	/**
	 * 是否启用服务，如果安装到系统app，那么服务开启后将杀不死，会一直监听
	 */
	public boolean isOpen = true;

	private static MyApplication instance = null;

	@Override
	public void onCreate()
	{
		instance = this;
		super.onCreate();

	}

	public static MyApplication getInstance()
	{
		return instance;
	}

	// 安全退出
}
